HADOOP-19184. S3A Fix TestStagingCommitter.testJobCommitFailure#6843
HADOOP-19184. S3A Fix TestStagingCommitter.testJobCommitFailure#6843mukund-thakur merged 2 commits intoapache:trunkfrom
Conversation
Follow up of HADOOP-18679
|
not yet ready. will clean this up and retest. |
|
🎊 +1 overall
This message was automatically generated. |
|
I can only trigger the failure on trunk in a parallel test run! this explains why yetus missed it. except: I can also trigger it from the IDE, which isn't parallel. I don't understand this. Except to note that with this patch, even parallel runs are happy. |
|
Tested using us-west-1 bucket. All good. |
|
🎊 +1 overall
This message was automatically generated. |
steveloughran
left a comment
There was a problem hiding this comment.
+1. If we did more mocking we could do something more sophisticated/reusable, but it'd still be really brittle...
|
I was trying to do the mocking of the whole S3AStore but was unsuccessful. It was getting complicated without a working solution. maybe we can revisit it later. I think it will be required in the future. |
Follow up on HADOOP-18679 Contributed by: Mukund Thakur
|
w.r.t mocking we'd have a S3AFilesystem.createStore() method to create it, the mocking could do its work there, maybe by invoking superclass then mocking the operations it needs to. |
Yes, something like that. |
Follow up of HADOOP-18679
Description of PR
How was this patch tested?
For code changes:
LICENSE,LICENSE-binary,NOTICE-binaryfiles?